package com.zte.cn.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author Wenzhao Tian
 * @Date 2024-03-30 23:06
 * @Description:
 */
@RestController
@RequestMapping("/simple")
@Slf4j
public class SimpleController {


    /**
     * http://localhost:8080/simple/get/test?param=1
     *
     * @param param
     * @return
     */
    @GetMapping("/task")
    public String test(@RequestParam String param) {

        return "success";
    }

}
